package kr.snake75.command;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

public class CRUDCommand extends MultiCommand {
	private static final Logger logger = Logger.getLogger(CRUDCommand.class);
	
	public CommandResult create(HttpServletRequest request, HttpServletResponse response) throws Exception {
	    logger.info("create...................");
	    
	    return new CommandResult("create.jsp", false);
	}

	public CommandResult read(HttpServletRequest request, HttpServletResponse response) throws Exception {
	    logger.info("read...................");
	    return new CommandResult("read.jsp", false);
	}

	public CommandResult update(HttpServletRequest request, HttpServletResponse response) throws Exception {
	    logger.info("update...................");
	    return new CommandResult("update.jsp", false);
	}

	public CommandResult delete(HttpServletRequest request, HttpServletResponse response) throws Exception {
	    logger.info("delete...................");
	    return new CommandResult("delete.jsp", false);
	}
}
